import http from '../request.js'
/* 护理记录控制类 */

// 提交护理记录
export function createdNursingRecord(data) {
	return http({
		url: '/nurse/nursingRecord/createdNursingRecord',
		method: "post",
		data: data
	})
}
// 查看护理报告列表
export function selectAllNursingRecord(data) {
	return http({
		url: '/nurse/nursingRecord/selectAllNursingRecord',
		method: "POST",
		data: data
	})
}

// 获取某一条护理报告详情
export function selectNursingRecordById(data) {
	return http({
		url: '/nurse/nursingRecord/selectNursingRecordById',
		method: "get",
		data: data
	})
}

// 修改待审核状态下的护理记录
export function updatedNursingRecord(data) {
	return http({
		url: '/nurse/nursingRecord/updatedNursingRecord',
		method: "post",
		data: data
	})
}

export function selectConfigurationByServiceId(data) {
	return http({
		url: '/nurse/nursingRecord/selectConfigurationByServiceId',
		method: "get",
		data: data
	})
}


// 上传护理报告图片
export function uploadPicture(data) {
	return http({
		url: '/nurse/nursingRecord/uploadPicture',
		method: "post",
		data: data
	})
}